package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class Cat extends Animal{
    public Cat(String name) {
        super(name);
    }

    public void run(){
        System.out.println(this.name + "正在用四条腿来跑！");
    }
}
